package User;

import operation.*;

import java.util.Scanner;

public class NormalUser extends User {

    public NormalUser(String name) {
        super(name);
        this.ioperation= new ioperation[]{
                new exit(),
                new find(),
                new borrow(),
                new return1(),

        };
    }
    public int menu(){
        System.out.println("welcome+"+this.name);
        System.out.println("1查找图书");
        System.out.println("2借阅图书");
        System.out.println("3归还图书");
        System.out.println("0退出系统");
        Scanner sca = new Scanner(System.in);
        int choice = sca.nextInt();
        return choice;
    }
}
